// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	8/2/2013 7:33:39 PM				
// -----------------------------

#ifndef _LuaException_h
#define _LuaException_h

#include "ObjectLuaDef.h"

namespace ObjectLua
{

	/*
	// Used to indicate critical Lua error
	*/
	class OBJECTLUA LuaException
	{
	public:
		LuaException(const char* lpMsg);
		LuaException(const LuaException& refLuaException);
		LuaException& operator=(const LuaException& refLuaException);
		~LuaException();

		/*
		//	Get the message associated
		//	with this exception
		*/
		const char*	message() const;
	
	private:
		char*		m_lpMessage;
	};

}

#endif